﻿<%@ Page Language="C#" MasterPageFile="~/MasterPageUser.master" AutoEventWireup="true" CodeFile="tim.aspx.cs" Inherits="tim" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style5
        {
            width: 612px;
        }
        .style6
        {
            width: 100%;
        }
        .style7
        {
            width: 19px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table class="style5" 
        style="width: 100%; border-top-style: solid; border-bottom-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-top-color: #C0C0C0; border-bottom-color: #C0C0C0;" 
        align="center">
        <tr>
            <td style="height: 25px; background-color: #ff9933; color: #FFFFFF; font-weight: bold; font-family: arial, Helvetica, sans-serif; padding-left: 10px; width: 620px;">
                <asp:Label ID="lblcount" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                    Width="100%" ShowHeader="False">
                    <Columns>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <table cellpadding="2" class="style6" 
                                    style="border-width: 1px; border-color: #C0C0C0; border-top-style: solid; ">
                                    <tr>
                                        <td align="center" class="style7" rowspan="2" style="padding: 5px">
                                            <asp:Image ID="Image3" runat="server" Height="90px" 
                                                ImageUrl='<%# Eval("Hinh") %>' ToolTip='<%# Eval("TenSp") %>' Width="80px" />
                                        </td>
                                        <td style="padding: 5px" valign="bottom">
                                            <asp:HyperLink ID="HyperLink1" runat="server" 
                                                NavigateUrl='<%# "Chi_tiet_sp.aspx?ten=" + Eval("TenSp")+"&&ma="+Eval("TenHang") %>' 
                                                Text='<%# Eval("TenSp") %>' ToolTip='<%# Eval("TenSp") %>'></asp:HyperLink>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="padding: 5px">
                                            <asp:Label ID="lblgia" runat="server" Font-Bold="True" ForeColor="#3366FF" 
                                                Text="Giá : "></asp:Label>
                                            <asp:Label ID="Label3" runat="server" style="color: #CC3300" 
                                                Text='<%# Eval("Gia","{0:#,##0} VND") %>'></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style7">
                                            &nbsp;</td>
                                        <td>
                                            &nbsp;</td>
                                    </tr>
                                </table>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
    </table>
</asp:Content>

